package com.hupu.jrs.ui.pmdetail

import com.hupu.jrs.bean.PmDetail
import com.hupu.jrs.ui.BasePresenter
import com.hupu.jrs.ui.BaseView

/**
 * Created by sll on 2016/5/11.
 */
interface PmDetailContract {

    interface View : BaseView {
        fun showLoading()

        fun hideLoading()

        fun isBlock(isBlock: Boolean)

        fun renderPmDetailList(pmDetails: MutableList<PmDetail>)

        fun scrollTo(position: Int)

        fun onRefreshCompleted()

        fun onError()

        fun onEmpty()

        fun cleanEditText()
    }

    interface Presenter : BasePresenter<View> {

        fun onPmDetailReceive()

        fun onLoadMore()

        fun onReload()

        fun send(content: String)

        fun clear()

        fun block()
    }
}
